﻿using ERPEF.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPIService
{
    public interface pur_Purchase_OrderIService
    {
        Task<List<pur_Purchase_Order>> OrderQuery();//主表查询
        Task<List<bs_vendor>> VenQuery();//查询供货商
        Task<int> OrderAdd(pur_Purchase_Order PurOrder);//主表添加
        Task<int> OrderUpdate(pur_Purchase_Order PurOrder);//主表修改
        Task<int> OrderDelete(int ord_id);//主表删除


        Task<int> FromAdd(pur_Purchase_From PurFrom);//从表添加
        Task<int> FromUpdate(pur_Purchase_From PurFrom);//从表修改
        Task<int> FromDelete(int fro_id);//从表删除

    }
}
